package com.peak.spring.boot.builder.repository;

import java.util.Collection;

import org.springframework.data.jpa.domain.Specification;

import com.peak.spring.boot.api.repository.FilterParam;

public class SpecificationsBuilder {

	public static <T> Specification<T> build(final Collection<FilterParam> filterParams) {
		return new DefaultSpecification<T>(filterParams);
	}
}
